class Player extends Creature{
	
//	private ArrayList<Item> inv;
	
//	private ArrayList<EquipableItem> equ;
	
	private int maxInv;
	
	private int exp;
	
	public Player(String name,/* CreatureClass cls,*/ int race, char fm, int x, int y){
		super(fm,x,y);
		this.name = name;
	//	this.cls = cls;
		this.race = race;
		this.exp = 0;
		this.maxInv = 20;
	//	this.inv = new ArrayList<Item>();
	//	this.equ = new ArrayList<EquipableItem>();
		this.maxHP = 10; //cls.getSrtHP();
		this.maxMP = 10; //cls.getSrtMP();
		this.hp = maxHP;
		this.mp = maxMP;
		this.armr = 0; // cls.getSrtArmr();
		this.dmg = 0; //cls.getSrtDmg();
		this.firer = 0;
		this.frostr = 0;
		this.earthr = 0;
		this.shadowr = 0;
		this.holyr = 0;
		
		switch(this.race){
			// Dwarf
			case 0:
				this.frostr = 5;
				this.armr = (int)((this.armr) * 1.1);
				this.maxHP = (int)((this.maxHP) * 1.05);
				break;
			// Human
			case 1:
				this.holyr = 5;
				this.maxHP = (int)((this.maxHP) * 1.1);
				break;
			// Elf
			case 2:
				this.earthr = 10;
				this.maxHP = (int)((this.maxHP) * 0.8);
				this.maxMP = (int)((this.maxMP) * 1.4);
				break;
			// Halfling
			case 3:
				this.frostr = 6;
				this.firer = 4;
				this.earthr = 3;
				break;
			// HalfOrc
			case 4:
				this.frostr = -8;
				this.firer = 8;
				this.maxHP = (int)((this.maxHP) * 1.2);
				break;
			// Vampire
			case 5:
				this.shadowr = 12;
				this.holyr = -20;
				this.dmg = (int)((this.dmg) * 1.2);
				break;
			// Centaur
			case 6:
				this.armr = (int)((this.maxHP) * 1.1);
				this.dmg = (int)((this.dmg) * 1.2);
				this.firer = -2;
				this.frostr = -2;
				this.shadowr = -5;
				this.holyr = -3;
				this.earthr = -1;
				break;
		}
		
		this.hp = this.maxHP;
		this.mp = this.maxMP;
		

	}
	
	
}